/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.avu.tp.assign2.question3.plk.conforms;

/**
 *
 * @author Malotana
 */
public class Course {

    private String nameOfCourse;
    private String courseCode;
    private Mark courseMark;

    public String getNameOfCourse() {
        return nameOfCourse;
    }

    public void setNameOfCourse(String nameOfCourse) {
        this.nameOfCourse = nameOfCourse;
    }

    public String getCourseCode() {
        return courseCode;
    }

    public void setCourseCode(String courseCode) {
        this.courseCode = courseCode;
    }

    public double getCourseMark() {
        return courseMark.getScore();
    }

    public void setCourseMark(Mark courseMark) {
        this.courseMark = courseMark;
    }
}